//
//  SetTableViewCell.m
//  BeautyPicture
//
//  Created by LiuNa on 16/3/9.
//  Copyright © 2016年 szb. All rights reserved.
//

#import "SetTableViewCell.h"

@implementation SetTableViewCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.tagIma = [[UIImageView alloc] init];
        [self.contentView addSubview:self.tagIma];
        
        
        self.label = [[UILabel alloc] init];
        self.label.font = [UIFont systemFontOfSize:20];
        [self.contentView addSubview:self.label];
        
        
        self.back = [[UIImageView alloc] init];
        [self.contentView addSubview:self.back];
        
    }
    return self;
}

- (void)layoutSubviews{
    [super layoutSubviews];
    self.tagIma.frame = CGRectMake(10, self.frame.size.height / 2 - 10, 20, 20);
    
    self.label.frame = CGRectMake(45, self.frame.size.height / 2 - 15, 80, 30);
    
    self.back.frame = CGRectMake(self.frame.size.width - 30, self.frame.size.height / 2 - 7, 10, 14);
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
